<?php

/**
 * 定义所有控制器的访问控制表
 *
 * @copyright Copyright © 2008 harry
 * @author harry
 * 
 */

return array(
    /**
     * AdminDefault 控制器
     */
    'AdminDefault' => array(
       'allow' => RBAC_EVERYONE,
       //'deny' => RBAC_EVERYONE,
        'actions' => array(
            'AdminUserList' => array(
                'allow' => 'SYSTEM_ADMIN',
            ),
            'AdminImgCode' => array(
            	'allow' => RBAC_EVERYONE,
            ),
        ),
    ),
    /**
     * 城市管理
     */
	'AdminCity' => array(
		'allow' => 'ADMIN,SYSTEM_ADMIN',
	),
    /**
     * BoBase 控制器
     */
    /*'BoBase' => array(
       'deny' => RBAC_EVERYONE,
    ),*/

    /**
     * BoDashboard 控制器
     */
    /*'BoDashboard' => array(
        'allow' => RBAC_HAS_ROLE,

        'actions' => array(
            'phpinfo' => array(
                'allow' => 'SYSTEM_ADMIN',
            ),
        ),
    ),*/


);
